package cn.kgc.springboot.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import cn.kgc.springboot.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Entity cn.kgc.springboot.entity.User
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> selectByAgeEquals(@Param("age") Integer age);

    int deleteByAgeBetween(@Param("beginAge") Integer beginAge, @Param("endAge") Integer endAge);

}




